package com.chen.hotel.exception;

import lombok.Data;

@Data
public class HotelException extends RuntimeException {

    private Integer code;

    public HotelException(Integer code, String message){
        super(message);
        this.code = code;
    }
}
